#ifndef TASKTEST_H
#define TASKTEST_H

#include <QObject>
#include <QThread>
#include <QQueue>

struct testReq
{
    int op;
    QString param;
};

class taskTest : public QThread
{
    Q_OBJECT

public:
    taskTest();

    void putReq(int op, QString pa);
    bool getReq(struct testReq &r);

    QString params;
    bool showtime;

signals:
    void outLog(QString msg);

private:
    QQueue<struct testReq> req;
protected:
    bool isrun;
};

#endif // TASKTEST_H
